
export let columns = [
  {
    title: '工序编号',
    dataIndex: 'processesCode',
    ellipsis: true,
    // fixed: 'left',
    width: 200,
    searchIndex: 'processesCode',
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'processesCode',
    },
  },
  {
    title: '工序名称',
    dataIndex: 'processesName',
    ellipsis: true,
    // fixed: 'left',
    width: 180,
    searchIndex: 'processesName',
    options: [],
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'processesName',
    },
  },
  {
    title: '计件单价',
    dataIndex: 'pieceRate',
    ellipsis: true,
    // fixed: 'left',
    width: 180,
    searchIndex: 'pieceRate',
    scopedSlots:{}
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    ellipsis: true,
    width: 180,
    searchIndex: 'createTime',
    sorter: true,
    scopedSlots: {
    },
  },
  {
    title: '更新时间',
    dataIndex: 'updateTime',
    ellipsis: true,
    width: 180,
    searchIndex: 'updateTime',
    sorter: true,
    scopedSlots: {
      // filterDropdown: 'datePickercreateTime',
      // filterIcon: 'dateIcon',
      // customRender: 'updateTime',
    },
  },
  {
    title: '创建人',
    dataIndex: 'createBy',
    ellipsis: true,
    width: 180,
    searchIndex: 'createBy',
    options: [],
    scopedSlots: {
      filterDropdown: 'createBy',
      filterIcon: 'dateIcon',
      // customRender: 'createByName',
    },
  },
  {
    title: '更新人',
    dataIndex: 'updateBy',
    ellipsis: true,
    width: 180,
    searchIndex: 'updateBy',
    options: [],
    scopedSlots: {
      filterDropdown: 'updateBy',
      filterIcon: 'dateIcon',
      // customRender: 'updateByName',
    },
  },
]
export let allColumn = [
  {
    title: '工序编号',
    dataIndex: 'processesCode',
    ellipsis: true,
    // fixed: 'left',
    width: 200,
    searchIndex: 'processesCode',
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      // customRender: 'processesCode',
    },
  },
  {
    title: '工序名称',
    dataIndex: 'processesName',
    ellipsis: true,
    // fixed: 'left',
    width: 180,
    searchIndex: 'processesName',
    options: [],
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'processesName',
    },
  },
  {
    title: '计件单价',
    dataIndex: 'pieceRate',
    ellipsis: true,
    // fixed: 'left',
    width: 180,
    searchIndex: 'pieceRate',
    scopedSlots:{}
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    ellipsis: true,
    width: 180,
    searchIndex: 'createTime',
    sorter: true,
    scopedSlots: {
    },
  },
  {
    title: '更新时间',
    dataIndex: 'updateTime',
    ellipsis: true,
    width: 180,
    searchIndex: 'updateTime',
    sorter: true,
    scopedSlots: {
    },
  },
  {
    title: '创建人',
    dataIndex: 'createBy',
    ellipsis: true,
    width: 180,
    searchIndex: 'createBy',
    options: [],
    scopedSlots: {
      filterDropdown: 'createBy',
      filterIcon: 'dateIcon',
      // customRender: 'createByName',
    },
  },
  {
    title: '更新人',
    dataIndex: 'updateBy',
    ellipsis: true,
    width: 180,
    searchIndex: 'updateBy',
    options: [],
    scopedSlots: {
      filterDropdown: 'updateBy',
      filterIcon: 'dateIcon',
      // customRender: 'updateByName',
    },
  },
]